|
|
|
|
|
|
|
Note A.CAB file is a compressed file that is well suited to distribution on both disks or the Internet. |
|
|
|
|
|
|
|
|
|
To allow you to more efficiently perform these steps, Visual Basic 6 has included with it the Packaging and Deployment Wizard. This wizard replaces the older Application Setup Wizard that has been included with Visual Basic since version 1. The Package and Deployment Wizard automates much of the work involved in creating and deploying these files. The wizard offers the following three options or functions for you to use: |
|
|
|
|
|
|
|
|
Package optionHelps you package a project's files into .CAB file(s) that can then be deployed, and in some cases the setup program that installs the .CAB files. |
|
|
|
|
|
|
|
|
Deploy optionDelivers your packaged applications to the appropriate distribution media, such as disks, a network drive, or to a Web site. |
|
|
|
|
|
|
|
|
Manage Scripts optionLets you view and manipulate the scripts you have saved from the previous packaging and deployment sessions. |
|
|
|
|
|
|
|
|
Packaging the Application |
|
|
|
|
|
|
|
|
The Packaging and Deployment Wizard helps you to create professional-looking installation packages for your application. In addition to creating a standard installation process, it will also include the files and programs to allow users to uninstall your application if they want to. An application package consists of the .CAB file or files that contain your compressed project files and any other files the user will need to install and use your application. There are two kinds of packages that you can create standard or Internet packages. If you plan to distribute the application on disk, network drive, or CD-ROM, you should create a standard package for the application. However, if you plan on distributing the application through an intranet or Internet site, you should create an Internet package. |
|
|
|
|
|
|
|
|
No matter which type of package you choose, there are certain steps you need to perform to create the package. These steps are as follows: |
|
|
|
|
|
|
|
|
1. Select the package type you want to create |
|
|
|
|
|
|
|
|
2. Specify all the files you need to distribute |
|
|
|
|
|
|
|
|
3. Set the location to install the files on the user's computer |
|
|
|
|
|